package com.hmxx.myblogproject.service.impl;

import com.hmxx.myblogproject.entity.MyBlogResource;
import com.hmxx.myblogproject.mapper.MyBlogResourceMapper;
import com.hmxx.myblogproject.service.MyBlogResourceService;
import com.hmxx.myblogproject.util.ResponseUtil;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import javax.xml.ws.WebServiceRef;
import java.util.List;

/**
 * @description:
 * @Author: {27106}
 * @Date: {2021/11/30 13:13}
 */
@Service
public class MyBlogResourceServiceImpl implements MyBlogResourceService {
    @Resource
    private MyBlogResourceMapper mapper;

    @Override
    public Object getList() {
        List<MyBlogResource> myBlogResourceList=mapper.getList();
        return ResponseUtil.okList(myBlogResourceList);
    }
}
